﻿import request from '/@/utils/request';
enum Api {
  AddPlcTag = '/api/plcTag/add',
  DeletePlcTag = '/api/plcTag/delete',
  UpdatePlcTag = '/api/plcTag/update',
  GetPlcTagPage = '/api/plcTag/page'

}

// 增加PlcTagService
export const addPlcTag = (params?: any) =>
	request({
		url: Api.AddPlcTag,
		method: 'post',
		data: params,
	});

// 删除PlcTagService
export const deletePlcTag = (params?: any) => 
	request({
			url: Api.DeletePlcTag,
			method: 'post',
			data: params,
		});

// 编辑PlcTagService
export const updatePlcTag = (params?: any) => 
	request({
			url: Api.UpdatePlcTag,
			method: 'post',
			data: params,
		});

// 分页查询PlcTagService
export const getPlcTagPageList = (params?: any) => 
	request({
			url: Api.GetPlcTagPage,
			method: 'get',
			data: params,
		});




